package com.kczd.jinlan.adapter.normaladapter;

import android.content.Context;
import android.widget.ImageView;

import com.kczd.jinlan.R;

/**
 * zhangy
 * Created by Administrator on 2017/5/25.
 */

public class ShopdetailsAdapter extends BaseimgCommAdapter{

    public ShopdetailsAdapter(int[] datas) {
        super(datas);
    }
    @Override
    protected void setUI(ViewHolder holder, int position, Context context) {
        int pic = (int) getItem(position);


        ImageView iv_head = holder.getItemView(R.id.id_detail_show);
        iv_head.setImageResource(pic);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.shop_detail_item;
    }
}
